package com.example.domain;

import java.io.Serializable;

public class Food implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String district;
	private String name;
	private String address;
	private String telephone;
	private String tag;
	private String type;
	private String price;
	private String linkname;
	private String linkurl;
	private int distance;

	public Food() {
		super();
	}
	public Food(String district, String name, String address, String telephone, String tag,
			String type,String price, String linkname, String linkurl,int distance) {
		super();
		this. district =  district;
		this.name = name;
		this.address = address;
		this.telephone = telephone;
		this.tag = tag;
		this.type = type;
		this.price = price;
		this.linkname = linkname;
		this.linkurl = linkurl;
		this. distance = distance;
	}

	
	@Override
	public String toString() {
		return "Food [district=" + district + ", name=" + name + ", address="
				+ address + ", telephone=" + telephone + ", tag=" + tag
				+ ", type=" + type + ", price=" + price + ", linkname="
				+ linkname + ", linkurl=" + linkurl + ", distance=" + distance
				+ "]";
	}



	public int getDistance() {
		return distance;
	}


	public void setDistance(int distance) {
		this.distance = distance;
	}


	public String getLinkname() {
		return linkname;
	}


	public void setLinkname(String linkname) {
		this.linkname = linkname;
	}


	public String getLinkurl() {
		return linkurl;
	}


	public void setLinkurl(String linkurl) {
		this.linkurl = linkurl;
	}


	public String getprice() {
		return price;
	}

	public void setprice(String price) {
		this.price = price;
	}
	
	public String getdistrict() {
		return district;
	}

	public void setdistrict(String district) {
		this.district = district;
	}
	public String getname() {
		return name;
	}

	public void setTname(String name) {
		this.name = name;
	}

	public String getaddress() {
		return address;
	}

	public void setaddress(String address) {
		this.address= address;
	}

	public String gettelephone() {
		return telephone;
	}

	public void settelephone(String telephone) {
		this.telephone = telephone;
	}

	public String gettag() {
		return tag;
	}

	public void settag(String tag) {
		this.tag = tag;
	}

	public String gettype() {
		return type;
	}

	public void settype(String type) {
		this.type = type;
	}


}
